package com.ys.openapi.organization.entity;

import java.util.ArrayList;
import java.util.List;

/**
 * 角色组
 */
public class RoleGroupVo {
  /*  {
        "childrens": [
        {
            "code": "",
                "corpId": "",
                "roleGroupId": "",
                "roleGroupName": "",
                "roleId": "",
                "roleName": "",
                "roleType": ""
        }
  ],
        "code": "",
            "corpId": "",
            "parentId": "",
            "roleGroupId": "",
            "roleGroupName": ""
    }*/

    public RoleGroupVo( ) {
        this.childrens = new ArrayList<>();
        this.code = "";
        this.corpId = "";
        this.parentId = "";
        this.roleGroupId = "";
        this.roleGroupName = "";
    }

    private List<RoleVo> childrens;
    private String code;
    private String corpId;
    private String parentId;
    private String roleGroupId;
    private String roleGroupName;


    public List<RoleVo> getChildrens() {
        return childrens;
    }

    public void setChildrens(List<RoleVo> childrens) {
        this.childrens = childrens;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getCorpId() {
        return corpId;
    }

    public void setCorpId(String corpId) {
        this.corpId = corpId;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public String getRoleGroupId() {
        return roleGroupId;
    }

    public void setRoleGroupId(String roleGroupId) {
        this.roleGroupId = roleGroupId;
    }

    public String getRoleGroupName() {
        return roleGroupName;
    }

    public void setRoleGroupName(String roleGroupName) {
        this.roleGroupName = roleGroupName;
    }
}
